$OpenBSD: patch-ktnef_CMakeLists_txt,v 1.2 2014/07/09 20:03:30 zhuk Exp $
Fix linking.
--- ktnef/CMakeLists.txt.orig	Thu May  8 11:26:48 2014
+++ ktnef/CMakeLists.txt	Sun May 18 20:22:24 2014
@@ -44,9 +44,9 @@ add_library(ktnef ${LIBRARY_TYPE} ${ktnef_LIB_SRCS})
 generate_export_header(ktnef)
 
 if(KDEPIM_NO_KCAL)
-  target_link_libraries(ktnef ${KDE4_KIO_LIBS} kabc kcalcore kcalutils)
+  target_link_libraries(ktnef kabc kcalcore kcalutils ${KDE4_KIO_LIBS})
 else()
-  target_link_libraries(ktnef ${KDE4_KIO_LIBS} kabc kcal kcalcore kcalutils)
+  target_link_libraries(ktnef kabc kcal kcalcore kcalutils ${KDE4_KIO_LIBS})
 endif()
 
 set_target_properties(ktnef PROPERTIES
